package neu.soft.mapper;

import neu.soft.entity.FinancialPurchaseOrder;
import neu.soft.entity.GoodInfo;
import neu.soft.query.BasePageQuery;

import java.util.List;

public interface PurchaseOrderMapper {

    int addPurchaseOrder(FinancialPurchaseOrder financialPurchaseOrder);

    FinancialPurchaseOrder findById(Integer financialOrderId);

    void batchInsertGoodInfo(List<GoodInfo> goodInfoList);

    List<FinancialPurchaseOrder> findByPage(BasePageQuery query);

}
